package cn.jiyun.dao.mapper;

import cn.jiyun.dao.domain.User;
import cn.jiyun.dao.dto.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper {
    /**
    * 根据条件查询用户角色信息
    * @param condition
    * @return
    */
    List<UserRole> selectByCondition(@Param("condition") User condition, @Param("orderBy") String orderBy, @Param("order") String order);
}